package pers.xx.sbm.entity;

/**
 * @author ：xiexing
 * @description：TODO
 * @date ：2020/7/23 8:51
 */
public class SuccessKilled {

    private long seckillId;//秒杀id
    private long userPhone;//用户电话
    private short state;//状态

    private Seckill seckill;//秒杀实体 多对一

    public long getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(long seckillId) {
        this.seckillId = seckillId;
    }

    public long getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(long userPhone) {
        this.userPhone = userPhone;
    }

    public short getState() {
        return state;
    }

    public void setState(short state) {
        this.state = state;
    }

    public Seckill getSeckill() {
        return seckill;
    }

    public void setSeckill(Seckill seckill) {
        this.seckill = seckill;
    }

    @Override
    public String toString() {
        return "SuccessKilled{" +
                "seckillId=" + seckillId +
                ", userPhone=" + userPhone +
                ", state=" + state +
                '}';
    }
}
